package com.onlyoffice.demo.findproblem.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@TableName("error_spot")
@EqualsAndHashCode(callSuper = false)
public class ErrorSpot implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关卡ID
     */
    private Long levelId;

    /**
     * X坐标
     */
    @JsonProperty("xCoordinate")
    private Float xCoordinate;

    /**
     * Y坐标
     */
    @JsonProperty("yCoordinate")
    private Float yCoordinate;

    /**
     * 点击半径
     */
    private Float radius;

    /**
     * 错误描述
     */
    private String description;
}
